<template>
  <el-menu :default-openeds="['1', '3']" style="min-height: 100%;overflow-x: hidden"
           background-color="rgb(48,65,86)" text-color="#fff"
           active-text-color="#ffd04b"
           :collapse-transition="false"
           :collapse="isCollapse"
           router
  >
    <div style="height: 60px;line-height: 60px;text-align: center;">
      <img src="../assets/logo.png" style="width: 20px;position: relative;top:5px;margin-right: 5px;margin-left: 10px">
        <b style="color: white;margin-right: 10px" v-show="logoTextShow">高考志愿智能推荐系统</b>
    </div>
    <el-menu-item index="/gk">
      <template slot="title">
        <i class="el-icon-s-home" ></i>
        <span slot="title">首页</span>
      </template>
    </el-menu-item>

    <el-menu-item index="/gk/UniMenu">
      <template slot="title">
        <i class="el-icon-menu"/>
        <span slot="title">院校信息</span>
      </template>
    </el-menu-item>

    <el-menu-item index="/gk/Recommend">
      <template slot="title">
        <i class="el-icon-menu"/>
        <span slot="title">志愿推荐</span>
      </template>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "aside",
  props:{
    isCollapse : Boolean ,
    logoTextShow : Boolean
  }
}
</script>

<style scoped>

</style>